loans-api icon

loans-api

(0 reviews)

Create Loan Disbursement

Description: This endpoint is used to create loan disbursement based on the below json request.

Mulesoft Request:

Headers:

Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, Authorization

Optional Headers: x-sub-channel-id,x-user-id, client_secret,x-debug-flag,x-debug-flag, x-customer-id

Paramaters:

URI Params: Na

Query Params: NA

Content-type: application/json

Mulesoft Request

To use the service to create loan disbursement, the value in the arrangement field should be "NEW"

{
  "arrangement": "NEW",
  "activity": "LENDING-NEW-ARRANGEMENT",
  "customer": "1000145124",
  "product": "NBI.PERSONAL.QUICK",
  "currency": "IQD",
  "amount": "10000",
  "term": "",
  "maturityDate": "20240904",
  "payinAccount": "2100000267",
  "payoutAccount": "2100000267",
  "fixedRate": "5",
  "primaryOfficer": "2800"
}

Mulesoft Response In Case Of Create:

Success Response: (200)

 {
    "status": {
        "success": "true",
        "code": "200",
        "arabicMessage": "تمت العملية بنجاح",
        "englishMessage": "The Operation has been Successfully Completed"
    },
    "response": {
        "arrangement": "AA23058PJ3V2",
        "customer": "1000145124",
        "customerRole": "OWNER",
        "tradeDate": "20230227",
        "product": "NBI.PERSONAL.QUICK",
        "currency": "IQD",
        "amount": "10000.000",
        "term": "555D",
        "maturityDate": "20240904",
        "paymentFreq": [
            "e0Y e1M e0W e0D e0F",
            "e0Y e1M e0W e0D e0F"
        ],
        "paymentMethod": [
            "PAY",
            "DUE",
            "DUE"
        ],
        "marginOper": "ADD",
        "marginRate": "3",
        "rateTierType": "SINGLE",
        "fixedAmount": "20.000",
        "paymentOfficer": "2800",
        "override": [
            "Unauthorised overdraft of IQD 250 on account 2310001045.",
            "Unauthorised overdraft of IQD 10000 on account 2310001045.",
            "Unauthorised overdraft of IQD 10500 on account 2310001045.",
            "Unauthorised overdraft of IQD 10300 on account 2310001045."
        ]
    }
}

Reviews